package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 巡检对象 omp_af_inspection
 *
 * @author cjie
 * @date 2021-07-24
 */
@Data
@ApiModel
public class AfInspection extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "巡检时间")
    private Date inspectionTime;

    /** 巡检区域 */
    @Excel(name = "巡检区域")
    @ApiModelProperty(value = "巡检区域")
    private String inspectionArea;

    /** 巡检项目 */
    @Excel(name = "巡检项目")
    @ApiModelProperty(value = "巡检项目")
    private String inspectionProject;

    /** 巡检内容 */
    @Excel(name = "巡检内容")
    @ApiModelProperty(value = "巡检内容")
    private String inspectionContent;

    /** 巡检结果 */
    @Excel(name = "巡检结果")
    @ApiModelProperty(value = "巡检结果")
    private String inspectionResult;

    /** 巡检人 */
    @Excel(name = "巡检人")
    @ApiModelProperty(value = "巡检人")
    private String inspectionMan;

    /** 操作人 */
    @Excel(name = "操作人")
    @ApiModelProperty(value = "操作人")
    private String operator;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "操作时间")
    private Date operateTime;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    /** 巡检种类 */
    @Excel(name = "巡检种类")
    @ApiModelProperty(value = "巡检种类")
    private String category;


    //以下属性为页面视图属性
    /** 日期下限*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期下限", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "日期下限")
    private Date beginDate;

    /** 日期上限*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期上限", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "日期上限")
    private Date endDate;
}
